<?php
/**
* phpCan - http://idc.anavallasuiza.com/
*
* phpCan is released under the GNU Affero GPL version 3
*
* More information at license.txt
*/

defined('ANS') or die();

$Data->execute('check.php', true);

$Admin->selectList(array(
	'table' => $Vars->get('table'),
	'search' => $Vars->str('q'),
	'page' => $Vars->int('page'),
	'sort' => $Vars->str('phpcan_sortfield'),
	'sort_direction' => $Vars->str('phpcan_sortdirection'),
), 'list');

$Vars->setData('table_info', array(
	'title' => $Admin->info('name', $Vars->get('table')),
	'description' => $Admin->info('description', $Vars->get('table'))
));
?>